package com.bosssoft.boss_exam_db.service.busines;

import com.bosssoft.boss_exam_db.entity.Admin;
import com.bosssoft.boss_exam_db.entity.Company;
import com.bosssoft.boss_exam_db.entity.Role;
import com.bosssoft.boss_exam_db.service.base.BaseService;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdminService extends BaseService<Admin> {
    List<Role> queryRolesById(String id);
    PageInfo<Admin> queryByCondition( Integer page, Integer limit, String sort, String order);
    Company selectAdminBelongCompany(String adminId);

    List<Admin> queryAdminByDepartment(String id);
}
